/*
 * DxfATTDEF.java
 *
 * Created on 6 de Dezembro de 2007, 10:49
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package importadorDXF;

/**
 *
 * @author rafaelbuck
 */
public class DxfATTDEF extends DxfATTRIB
{

    public boolean setGroup(short grpNr, String str)
    {
        switch(grpNr)
        {
        case 3: // '\003'
            questionText = str;
            return true;
        }
        return super.setGroup(grpNr, str);
    }

    public String getQuestionText()
    {
        return questionText;
    }

    public void convert(DxfConverter converter, DxfFile dxf, Object collector)
    {
        converter.convert(this, dxf, collector);
    }

    /** Creates a new instance of DxfATTDEF */
    public DxfATTDEF()
    {
    }

    protected String questionText;
}